package com.cn.kehong.domain;

import com.google.common.collect.ImmutableMap;

import java.util.Date;
import java.util.Map;

public class TerminalLicense {
    private String id;

    private String deptId;

    private String employeeName;

    private String number;

    private String terminalAme;

    private String macAddress;

    private String xkStatus;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date updateTime;

    private String status;

    private int count;

    private String deptName;
    public static final transient Map<String, String> STATUSMAP =
            ImmutableMap.of("0", "停用", "1", "启用");

    public String getXkStatusCn() {
        return STATUSMAP.get(getXkStatus());
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId == null ? null : deptId.trim();
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName == null ? null : employeeName.trim();
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number == null ? null : number.trim();
    }

    public String getTerminalAme() {
        return terminalAme;
    }

    public void setTerminalAme(String terminalAme) {
        this.terminalAme = terminalAme == null ? null : terminalAme.trim();
    }

    public String getMacAddress() {
        return macAddress;
    }

    public void setMacAddress(String macAddress) {
        this.macAddress = macAddress == null ? null : macAddress.trim();
    }

    public String getXkStatus() {
        return xkStatus;
    }

    public void setXkStatus(String xkStatus) {
        this.xkStatus = xkStatus == null ? null : xkStatus.trim();
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
}